<template>
    <div>
        主页<button @click="gua">关于</button>
    </div>
</template>

<script setup>
    import { useRouter } from 'vue-router'
    var router=useRouter()
    let gua= ()=>{
        router.push('/b')
    }
</script>

<style lang="scss" scoped>

</style>